// import Home from '../views/gameHome.vue'
import homes from '../views/homes.vue'
import details from '../views/detail.vue'
import classify from '../views/classify.vue'
import breaks from '../views/break.vue'
import online from '../views/online.vue'
import BTgame from '../views/BTgame.vue'
import search from '../views/search.vue'
import notFind from '../views/notFind.vue'

// const breaks = () => import(/* webpackChunkName: "break" */ '../views/break.vue')
// const online = () => import(/* webpackChunkName: "break" */ '../views/online.vue')
// const BTgame = () => import(/* webpackChunkName: "break" */ '../views/BTgame.vue')
// const search = () => import(/* webpackChunkName: "search" */ '../views/search.vue')
// const notFind = () => import(/* webpackChunkName: "notFind" */ '../views/notFind.vue')

const homeRoutes = [
  {path: '/', redirect: homes},
  {path: '/homes', name: 'homes', component: homes, meta: {contentHeader: {title: 'Dashboard', subTitle: 'Control panel'}}},
  {path: '/breaks', name: 'breaks', component: breaks, meta: {contentHeader: {title: 'Dashboard', subTitle: 'Control panel'}}},
  {path: '/search', name: 'search', component: search, meta: {contentHeader: {title: 'Dashboard', subTitle: 'Control panel'}}},
  {path: '/online', name: 'online', component: online, meta: {contentHeader: {title: 'Dashboard', subTitle: 'Control panel'}}},
  {path: '/BTgame', name: 'BTgame', component: BTgame, meta: {contentHeader: {title: 'Activity', subTitle: 'Executing jobs'}}},
  {path: '/detail', name: 'detail', component: details, meta: {contentHeader: {title: 'Activity', subTitle: 'Executing jobs'}}},
  {path: '/classify', name: 'classify', component: classify, meta: {contentHeader: {title: 'Activity', subTitle: 'Executing jobs'}}}
]

const notFindRoutes = {
  path: '/notFind',
  name: 'notFind',
  component: notFind
}

export default [
  ...homeRoutes,
  notFindRoutes
]
